package com.yjb.demo.elasticsearch.domain.query;

import io.swagger.annotations.ApiParam;
import lombok.Data;

/**
 * @description 
 * @author yinjinbiao
 * @create 2024/1/12 10:36
 * @version 1.0
 */
@Data
public class HotelQuery {
	@ApiParam("搜索框的keyword")
	private String key;
	@ApiParam("排序")
	private String sortBy;
	// 下面是新增的过滤条件参数
	@ApiParam("城市")
	private String city;
	@ApiParam("品牌")
	private String brand;
	@ApiParam("星级")
	private String starName;
	@ApiParam("最小价格")
	private Integer minPrice;
	@ApiParam("最高价格")
	private Integer maxPrice;
}
